package combine.order.model;

public class PurchaseOrderItem {
    
	private long purchaseOrderItemId;
	
	private boolean isStorage;
	
	private long bomItemId;
	
	private long purchaseOrderId;
	
	private BOMItem bomItem;
	
	private PurchaseOrder purchaseOrder;
	
	public PurchaseOrderItem(long purchaseOrderItemId, boolean isStorage,
			long bomItemId, long purchaseOrderId, BOMItem bomItem,
			PurchaseOrder purchaseOrder) {
		super();
		this.purchaseOrderItemId = purchaseOrderItemId;
		this.isStorage = isStorage;
		this.bomItemId = bomItemId;
		this.purchaseOrderId = purchaseOrderId;
		this.bomItem = bomItem;
		this.purchaseOrder = purchaseOrder;
	}

	public long getPurchaseOrderId() {
		return purchaseOrderId;
	}

	public void setPurchaseOrderId(long purchaseOrderId) {
		this.purchaseOrderId = purchaseOrderId;
	}

	public long getPurchaseOrderItemId() {
		return purchaseOrderItemId;
	}

	public void setPurchaseOrderItemId(long purchaseOrderItemId) {
		this.purchaseOrderItemId = purchaseOrderItemId;
	}

	public boolean getIsStorage() {
		return isStorage;
	}

	public void setIsStorage(boolean isStorage) {
		this.isStorage = isStorage;
	}

	public long getBomItemId() {
		return bomItemId;
	}

	public void setBomItemId(long bomItemId) {
		this.bomItemId = bomItemId;
	}

	public BOMItem getBomItem() {
		return bomItem;
	}

	public void setBomItem(BOMItem bomItem) {
		this.bomItem = bomItem;
	}

	public PurchaseOrder getPurchaseOrder() {
		return purchaseOrder;
	}

	public void setPurchaseOrder(PurchaseOrder purchaseOrder) {
		this.purchaseOrder = purchaseOrder;
	}
	
}
